home *** CD-ROM | disk | FTP | other *** search
/ World of Amiga / World of Amiga.iso / archive / music / oplay1231.lha / env / readme < prev   
Text File  |  1992-10-28  |  2KB  |  40 lines

  1. OmniPlay
  2. version 1.21
  3.  
  4. A Multiple-Format Sound Player for the Amiga
  5.  
  6.  
  7.  
  8. THE ENVIRONMENT VARIABLE "OMNIPLAY"
  9. ===================================
  10.  
  11. These files are examples of the use of the OMNIPLAY environment
  12. variable, which first appeared in OmniPlay v1.21.  These variables
  13. can be used to set your personal defaults for OmniPlay, much as you
  14. would in a shell alias.  To use one of these files as your own
  15. default setting, copy the file to ENVARC:OMNIPLAY and to
  16. ENV:OMNIPLAY.  Any OmniPlay program of version 1.21 or greater will
  17. read this variable and parse the contents as if it were a command
  18. line, then it will do the command line itself.  You can create your
  19. own environment variable by creating a file called ENV:OMNIPLAY and
  20. making its contents the OmniPlay options you wish to be default.
  21. This works under any Kickstart, as long as you have the ENV: logical
  22. device assigned somewhere.
  23.  
  24. If you have ENV: assigned to somewhere in RAM:, as most people do,
  25. you should have some way of recovering the value of the variable at
  26. startup.  Kickstarts 2.0 and higher do this automatically; they
  27. assign ENVARC: to a directory on your boot disk, and copy its
  28. contents to ENV: at startup.  If you don't use 2.0, you can either:
  29. 1) Get 2.0 or higher
  30. 2) a) make a directory on your boot disk to store the environment.
  31.       As an example, use sys:prefs/env-archive.  (This is where
  32.       KS 2.0 puts it, so using this directory will allow you to
  33.       painlessly keep your environment when you upgrade.)
  34.    b) put a line in your startup-sequence to assign ENV: somewhere,
  35.       and another to copy the directory in 2a) to it.  Using our
  36.       example:
  37.     c:makedir RAM:env
  38.     c:assign ENV: ram:env
  39.     c:copy sys:prefs/env-archive/#? env:
  40.